package com.haixiaoke.saas.repository.service;

import com.haixiaoke.saas.repository.core.AjaxResult;

/**
 * 房管家Service接口
 *
 * @author qixi
 * @date 2023-04-14
 */
public interface IHouseKeeperService {

    /**
     * 入住
     * @param orderId 订单id
     * @return
     */
    AjaxResult toStayIn(String orderId);

    /**
     * 退租
     * @param orderId 订单id
     * @return
     */
    AjaxResult renunciation(String orderId);

    /**
     * 续租
     * @param orderId 原订单id
     * @param reletOrderId 续租订单id
     * @return
     */
    AjaxResult reletting(String orderId, String reletOrderId);
}
